package alan.springboot2x.sharejdbc.module.order.service;

import alan.springboot2x.sharejdbc.module.order.entity.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author alan
 * @since 2021-03-03
 */
public interface ITOrderService extends IService<TOrder> {

    List<TOrder> getByUserId(Long userId);

    List<TOrder> getByUserIdAndOrderId(Long userId,Long orderId);

    List<TOrder> getByOrderId(Long orderid);


}
